Skip to content

Fix: update isAuctionExpired function#642

Open
karacurt wants to merge 2 commits intothirdweb-dev:mainfrom
karacurt:fix/english-auction-view-function
Open

Fix: update isAuctionExpired function#642
karacurt wants to merge 2 commits intothirdweb-dev:mainfrom
karacurt:fix/english-auction-view-function

Conversation

@karacurt
Copy link

@karacurt karacurt commented May 5, 2024

Issue: This view function is semantically wrong, the auction is expired only if endTimestamp is less than block.timestamp.

Solution: Fixes operator sign to <= instead of >=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant